<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/18
 * Time: 16:06
 */
header("Content-type:text/html;charset=utf-8");
var_dump($_GET);
$a = $_GET['n1'];//上学期
$b = $_GET['n2'];//这个学期
echo "老生：";
$brr = array_intersect($b,$a);
var_dump($brr);
echo "新生：";
$brr = array_diff($b,$a);
var_dump($brr);
echo "删除：";
$brr = array_diff($a,$b);
var_dump($brr);



